<div id="en_tete">
   { if $userConnect != 'true' }
	<p>Bonjour, visiteur.</p>
	<ul>
        {if $myVille != ''}
            <li>
                <a href="{$BASE_URL}ville/{ $myVille.0 }-{ $myVille.2 }">
                    <img src="{$BASE_URL}themes/macrise/images/ville.png" width="32" height="32" alt="" />
                    Ma ville
                </a>
            </li>
        {/if}
		<li>
			<a href="{ $BASE_URL }connect/" class="nyromodal">
				<img src="{ $BASE_URL }themes/macrise/images/connexion.png" width="32" height="32" alt="" />
				Connexion
			</a>
		</li>
		<li>
			<a href="{ $BASE_URL }register/" class="nyromodal">
				<img src="{ $BASE_URL }themes/macrise/images/inscription.png" width="32" height="32" alt="" />
				Inscription
			</a>
		</li>
	</ul>
	{ else }
 	<p>Bonjour, { $barUserData.prenom } { $barUserData.nom }.</p>
 	<ul>
        {if $myVille != ''}
            <li>
                <a href="{$BASE_URL}ville/{ $myVille.0 }-{ $myVille.2 }">
                    <img src="{$BASE_URL}themes/macrise/images/ville.png" width="32" height="32" alt="" />
                    Ma ville
                </a>
            </li>
        {/if}
 	    <li>
 			<a href="{$BASE_URL}gestion/">
 				<img src="{$BASE_URL}themes/macrise/images/gestion.png" width="32" height="32" alt="" />
 				Gestion
 			</a>
 		</li>
 		<li>
 			<a id="editMyProfil" href="{$BASE_URL}profil/" class="nyromodal">
 				<img src="{$BASE_URL}themes/macrise/images/informations.png" width="32" height="32" alt="" />
 				Profil
 			</a>
 		</li>
 		<li>
 			<a href="{$BASE_URL}disconnect/">
 				<img src="{$BASE_URL}themes/macrise/images/deconnexion.png" width="32" height="32" alt="" />
 				Déconnexion
 			</a>
 		</li>
 	</ul>
 	{ /if }
</div>

<div style="display: none;" id="dialogFormMyProfil" class="dialogForm ui-dialog" title="Mes informations">
    { $formMyProfil }
</div>